package com.genshang.restaurant.util;

public class ConstCodeUtil {

    /**
     * 获取以时间精度秒为基础的时间戳
     *
     * @return
     */
    public static Integer getCode() {
        Integer channelCode = DateUtil.getDatetimeStampAccurateSecond();
        Integer randomCode = RandomUtil.getRandomNumber(99999);
        return channelCode + randomCode;
    }

}
